package com.neuedu.dao;

import com.neuedu.pojo.FoodCategory;
import com.neuedu.pojo.Shop;

import java.util.List;

public interface FoodCategoryDao {
    // 查询菜品种类的信息
    List<FoodCategory> getFoodCategory(String currentPage, String pageSize, String shopId) throws Exception;


    // 添加菜品种类信息
    Integer addFoodCategory(String categoryName,String shopId) throws Exception;

    // 修改菜品种类信息
    Integer updateFoodCategory(String categoryId,String categoryName, String shopId) throws Exception;

    // 删除菜品种类信息
    Integer delFoodCategory(String categoryId) throws Exception;

    // 查询所有数据的条数
    Long countFoodCategory(String shopId) throws Exception;
}
